﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CoursesManager.ascx.cs"
    Inherits="Framework.Portal.Layouts.Admin.Components.BGTT.Courses.CoursesManager" %>
<table border="0" cellpadding="0" cellspacing="1" class="content" width="100%">
    <tr>
        <td class="header1" align="left">
            <asp:Label ID="lblCommandName" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="header2" align="left" valign="top">
            &nbsp;
        </td>
    </tr>
    <tr>
        <td class="postheader" align="left" valign="top">
            <asp:UpdatePanel ID="upanelGridUserManagemt" runat="server" UpdateMode="Conditional"
                RenderMode="Inline">
                <ContentTemplate>
                    <table class="content" cellspacing="1" cellpadding="0" width="100%">
                        <tr>
                            <td class="header2" align="left" width="25">
                                <NS:Label ID="Label6" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="ID" />
                            </td>
                            <td class="header2" align="left">Tiêu đề</td>
                            <td class="header2" align="left">Bắt đầu</td>
                            <td class="header2" align="left">Chuyên mục</td>
                            <td class="header2" align="left">Niên khóa</td>                            
                            <td class="header2" align="left">Trạng thái</td>
                            <td class="header2" align="center" width="140">
                                <NS:Label ID="Label5" runat="server" LocalizedPage="TABLECAPTION" LocalizedTag="ACTION" />
                            </td>
                        </tr>
                        <asp:Repeater ID="dtgUsers" runat="server" OnItemCommand="dtgUsers_ItemCommand">
                            <ItemTemplate>
                                <tr>
                                    <td class="post" align="left">
                                        <asp:Label ID="Label7" runat="server" Text='<%# Eval("UserID") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblUsername" runat="server" Text='<%# Eval("Username") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblEmail" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblDisplayName" runat="server" Text='<%# Eval("DisplayName") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="lblRoleDescription" runat="server" Text='<%# Eval("NAME") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("NAME") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="ROLE24" ID="btnSetPedagogue"
                                            runat="server" CommandArgument='<%# Eval("UserID") %>' CommandName="setpedagogue"
                                            ToolTip="Đặt làm giáo viên" />
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <AlternatingItemTemplate>
                                <tr>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="Label7" runat="server" Text='<%# Eval("UserID") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblUsername" runat="server" Text='<%# Eval("Username") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblEmail" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblDisplayName" runat="server" Text='<%# Eval("DisplayName") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="lblRoleDescription" runat="server" Text='<%# Eval("NAME") %>'></asp:Label>
                                    </td>
                                    <td class="postheader" align="left">
                                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("NAME") %>'></asp:Label>
                                    </td>
                                    <td class="post" align="left">
                                        <NS:ImageButton LocalizedPage="IMAGEACTION" LocalizedTag="ROLE24" ID="btnSetPedagogue"
                                            runat="server" CommandArgument='<%# Eval("UserID") %>' CommandName="setpedagogue"
                                            ToolTip="Đặt làm giáo viên" />
                                    </td>
                                </tr>
                            </AlternatingItemTemplate>
                        </asp:Repeater>
                        <tr>
                            <td class="footer" colspan="7" height="25">
                                 <NS:Button LocalizedPage="ACTION" LocalizedTag="CREATE" ID="btnUpdate" runat="server" CssClass="pbutton" OnClick="btnCreate_Click"  Width="77px" />
                                &nbsp;<asp:Label ID="lblUpdateStatus" runat="server"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>
        </td>
    </tr>
</table>
